<!DOCTYPE html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>错误提示</title>
    <link rel="stylesheet" href="/component/pear/css/pear.css">
</head>
<body style="padding: 20px;">
<button class="layui-btn layui-btn-primary" onclick="backUrl()" style="margin-bottom: 25px">
    <i class="layui-icon layui-icon-return"></i>
    返 回
</button>
<fieldset class="layui-elem-field">
    <legend>错误</legend>
    <div class="layui-field-box" id="content">
    </div>
</fieldset>
<script>
    function backUrl() {
        window.history.back()
    }

    var url = new URL(window.location.href);
    var params = new URLSearchParams(url.search);
    var title = params.get('title');
    var content = params.get('content');
    if (content) {
        content = decodeURIComponent(atob(content))
    }
    document.getElementById('content').innerHTML = content
</script>
</body>
</html>